// Deferred shading
varying vec3 ec;
varying vec3 normal;

void main()
{	
	ec = vec3(gl_ModelViewMatrix * gl_Vertex);
	normal = gl_NormalMatrix * gl_Normal;
	gl_Position = ftransform();		
}
